import grpc

import hello_pb2 as pb2
import hello_pb2_grpc as pb2_grpc
def run():
    conn = grpc.insecure_channel('182.92.160.68:6600')
    client = pb2_grpc.BililiStub(channel=conn)
    response = client.HelloDewei(pb2.HelloDeweiReq)(
        hannel_code ="UC",
        game_appkey = "453tg45gtr45",
        game_version = "1.1.1",
        game_min_version = "1.0.0",
        game_channel_cfg_info = {}
    )
    print(response.result)

if __name__ == '__main__':
    run()